package cn.com.yiqi.wsc.entity.order;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 何刚
 * @version V1.0
 * @Title: OrderLogistics
 * @Package cn.com.yiqi.wsc.entity.order
 * @Description: TODO
 * Copyright: Copyright (c) 2016
 * Company: 成都壹柒互动科技有限公司
 * @date 2017/3/15
 */
public class OrderLogistics {

    /**
     * 主键id
     */
    private Integer id;

    /**
     * 备注
     */
    private String memo;

    /**
     * 订单id
     */
    private Integer orderId;
    /**
     * 订单号
     */
    private String orderCode;
    /**
     * 商家名称
     */
    private String orgName;

    /**
     * 物流公司名称
     */
    private String logisticsCompany;

    /**
     * 物流公司编码
     */
    private String logisticsCompanyCode;

    /**
     * 国内快递运单号
     */
    private String logisticsTrackingNo;

    /**
     * 金额
     */
    private BigDecimal amount;

    /**
     * 快递货物内容 json格式 [{"skuId":1,"skuName":"小米手机","skuNum":1}]
     */
    private String skuDtos;

    /**
     * 快递地址 json格式 {"receiver":{"province":"四川省","city":"成都市","area":"金牛区","phone":"134","name":"张三","postCode":"12","address":"xxxxx","addressId":1,"customerId":1},"sender":{"province":"四川省","city":"成都市","area":"金牛区","phone":"134","name":"张三","postCode":"12","address":"xxxxx","addressId":1,"customerId":1}}
     */
    private String addressDtos;

    /**
     * 包裹数量
     */
    private Integer packageNum;

    /**
     * 是否成功 1是 0否
     */
    private Integer success;

    /**
     * 物流状态 2-在途中,3-签收,4-问题件
     */
    private Integer status;

    /**
     * 失败原因
     */
    private String failReason;

    /**
     * 物流轨迹json [{"AcceptTime":"2014/06/25 08:05:37","AcceptStation":"xxxx","Remark":null}]
     */
    private String traces;

    /**
     * 新增时间
     */
    private Date insertTime;

    /**
     * 新增用户id
     */
    private Integer insertUserId;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 修改用户id
     */
    private Integer updateUserId;

    public String getLogisticsCompanyCode() {
        return logisticsCompanyCode;
    }

    public void setLogisticsCompanyCode(String logisticsCompanyCode) {
        this.logisticsCompanyCode = logisticsCompanyCode;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getLogisticsCompany() {
        return logisticsCompany;
    }

    public void setLogisticsCompany(String logisticsCompany) {
        this.logisticsCompany = logisticsCompany;
    }

    public String getLogisticsTrackingNo() {
        return logisticsTrackingNo;
    }

    public void setLogisticsTrackingNo(String logisticsTrackingNo) {
        this.logisticsTrackingNo = logisticsTrackingNo;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getSkuDtos() {
        return skuDtos;
    }

    public void setSkuDtos(String skuDtos) {
        this.skuDtos = skuDtos;
    }

    public String getAddressDtos() {
        return addressDtos;
    }

    public void setAddressDtos(String addressDtos) {
        this.addressDtos = addressDtos;
    }

    public Integer getPackageNum() {
        return packageNum;
    }

    public void setPackageNum(Integer packageNum) {
        this.packageNum = packageNum;
    }

    public Integer getSuccess() {
        return success;
    }

    public void setSuccess(Integer success) {
        this.success = success;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getFailReason() {
        return failReason;
    }

    public void setFailReason(String failReason) {
        this.failReason = failReason;
    }

    public String getTraces() {
        return traces;
    }

    public void setTraces(String traces) {
        this.traces = traces;
    }

    public Date getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }

    public Integer getInsertUserId() {
        return insertUserId;
    }

    public void setInsertUserId(Integer insertUserId) {
        this.insertUserId = insertUserId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Integer updateUserId) {
        this.updateUserId = updateUserId;
    }
}